hasSensor

.meshtastic.SensorData sensor = 2;

Return

Whether the sensor field is set.